﻿using System;

namespace smp.ButterflyCakes.Models.FormModels.Order
{
    public class ComponentFinishingModel : IOrderModel
    {
        public Guid OrderId { get; set; }
        public Guid ComponentId { get; set; }
        public bool IsFruit { get; set; }
        public ConveringType? CoveringType { get; set; }
        public string FinishColour { get; set; }
        public Finish? FinishType { get; set; }

        public SelectItem SelectCoveringType
        {
            get { return new SelectItem("CoveringType", typeof (ConveringType), CoveringType, true); }
        }
        public SelectItem SelectFinishingType
        {
            get { return new SelectItem("FinishType", typeof (Finish), FinishType, true); }
        }
    }
}
